/**
 * 
 */
package com.haisen.lee.thread;

import org.w3c.dom.Document;

import com.haisen.lee.util.DOMParserType;

/**
 * @author Haisen Lee
 * 
 */
public class DomParserThread extends Thread implements Runnable {

	private DOMParserType domParserType;
	private Document doc;

	/**
	 * 
	 */
	public DomParserThread() {
		super();
	}

	/**
	 * 
	 * @param domParserType
	 * @param doc
	 */
	public DomParserThread(DOMParserType domParserType, Document doc) {
		super();
		this.domParserType = domParserType;
		this.doc = doc;
	}

	/**
	 * 
	 * @param runnable
	 */
	public DomParserThread(Runnable runnable) {
		super(runnable);
	}

	/**
	 * 
	 * @param str
	 */
	public DomParserThread(String str) {
		super(str);
	}

	/**
	 * 
	 * @param threadGroup
	 * @param runnable
	 */
	public DomParserThread(ThreadGroup threadGroup, Runnable runnable) {
		super(threadGroup, runnable);
	}

	/**
	 * 
	 * @param threadGroup
	 * @param str
	 */
	public DomParserThread(ThreadGroup threadGroup, String str) {
		super(threadGroup, str);
	}

	/**
	 * 
	 * @param runnable
	 * @param str
	 */
	public DomParserThread(Runnable runnable, String str) {
		super(runnable, str);
	}

	/**
	 * 
	 * @param threadGroup
	 * @param runnable
	 * @param str
	 */
	public DomParserThread(ThreadGroup threadGroup, Runnable runnable,
			String str) {
		super(threadGroup, runnable, str);
	}

	/**
	 * @param threadGroup
	 * @param runnable
	 * @param str
	 * @param lNumber
	 */
	public DomParserThread(ThreadGroup threadGroup, Runnable runnable,
			String str, long lNumber) {
		super(threadGroup, runnable, str, lNumber);
	}

	@Override
	public void run() {
		if (this.domParserType == null)
			return;
		if (this.doc == null)
			return;

	}

}
